<?php

// Interwiki configuration
include_once dirname(__FILE__).'/../lib/config/nahoWikiConfiguration.php';
nahoWikiConfiguration::loadInterwiki();

// Register routes
if (sfConfig::get('app_nahoWikiPlugin_routes_register', true) && in_array('nahoWiki', sfConfig::get('sf_enabled_modules', array())))
{
  $this->dispatcher->connect('routing.load_configuration', array('nahoWikiConfiguration', 'listenToRoutingLoadConfigurationEvent'));
}
